package com.zr.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.zr.dao.BaseDao;
import com.zr.model.Way;
import com.zr.service.SaveLineService;
@Service("saveline")
public class SaveLineServiceImpl implements SaveLineService{
	
	@Resource 
	private BaseDao baseDao;
	
	@Override
	public void saveline(String lname, String qd, String zd, String way) {
		Way w = new Way();
		w.setLname(lname);
		w.setQd(qd);
		w.setZd(zd);
		w.setTransfer(way);
		baseDao.save(w);
	}

}
